<?php
//session值的读取:
	session_start();
  $student_nam = $_SESSION['student_nam'];
  $student_num = $_SESSION['student_num'];
  
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">  <!-- 以上代码告诉IE浏览器，IE8/9及以后的版本都会以最高版本IE来渲染页面。 -->  
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>哈尔滨工业大学（威海）教师预约系统</title>
	<link rel="stylesheet" href="../css/normalize.css">
	<link rel="stylesheet" href="../css/common.css">
	<link rel="stylesheet" href="../css/main.css">
</head>
<body>
	<!--[if lte IE8]>
	<p class="browserupdate">您的浏览器版本太老，请到<a href="http://browsehappy.com">这里</a>更新，以获取最佳的浏览体验。</p>
	<![endif]-->
	<header>
		<div class="logo">
			<img src="../images/logo1.png" alt="哈工大logo" class="logo-img vertical-center">
			<h1 class="vertical-center">教师预约管理系统</h1>
		</div>
		<div class="logoff">
			<a href="#"><span><em class="username"><?php echo $student_nam ?></em>（<em class="usernum"><?php echo $student_num ?></em>）</span></a>
			<a href="login2.html" id="logout"><img src="../images/out.png" alt="注销登录"></a>
		</div>
	</header><!-- header结束 -->
	<div class="container">
		<section class="person-info box">
			<img src="../images/my.png" alt="用户图片" class="horizontal-center">
			<div class="horizontal-center">
				<span>姓名：<em class="username"><?php echo $student_nam ?></em></span>
				<span>学号：<em class="usernum"><?php echo $student_num ?></em></span>
			</div>
		</section>
		<section class="seat-select box">
			<img src="../images/seat1.png" alt="教师预约" class="horizontal-center">
			<span class="horizontal-center">教师预约</span>
			<a href="teacher_select.html"></a>
		</section>
		<section class="seat-operate">
			<div class="register box">
				<img src="../images/write.png" alt="联系管理员" class="vertical-center">
				<span class="vertical-center">联系管理员</span>
				<a href="teacher_register_php.php"></a>
			</div>
			<div class="cancel-reserve box">
				<img src="../images/delete.png" alt="取消预约" class="vertical-center">
				<span class="vertical-center">取消预约</span>
				<a href="search_cancle.php"></a>
			</div>
		</section>
		<section class="seat-release box">
			<img src="../images/recyle.png" alt="可约教师" class="horizontal-center">
			<span class="horizontal-center">可约教师</span>
			<a href="teacher_release_php.php"></a>
		</section>
		<section class="reserve-record box">
			<img src="../images/record.png" alt="预约记录" class="vertical-center">
			<span class="vertical-center">预约记录</span>
			<a href="reserve_record_php.php"></a>
		</section>
		<section class="notice-board box">
			<img src="../images/warning.png" alt="公告栏" class="vertical-center">
			<div class="notice-info vertical-center">
				<h3>公告</h3>
				<p>通知</p>
			</div>
			<a href="notice.html"></a>
		</section>
		<section class="default-record box">
			<img src="../images/wrong.png" alt="未按时到达" class="vertical-center">
			<span class="vertical-center">未按时到达</span>
			<a href="default_record_php.php"></a>
		</section>
	</div><!-- container结束 -->
	<script type="text/javascript" src="../script/jquery-3.1.1.min.js"></script>
	<script type="text/javascript" src="../script/main.js"></script>
</body>
</html>
